//
//  MVSPathMapping.h
//  MoltenCore
//
//  Created by Nicholas Bourey on 4/28/12.
//  Copyright (c) 2012 Matchbox, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

@class MVSObjectMapping;

typedef enum eMVSPathMappingType {
	MVSPathMappingDefault,
	MVSPathMappingRelation
} MVSPathMappingType;

@interface MVSPathMapping : NSObject {
	MVSPathMappingType mappingType;
	NSString *jsonPath;
	NSString *keyPath;
	MVSObjectMapping *relationalMapping;
}
@property (nonatomic, assign) MVSPathMappingType mappingType;
@property (nonatomic, retain) NSString *jsonPath;
@property (nonatomic, retain) NSString *keyPath;
@property (nonatomic, retain) MVSObjectMapping *relationalMapping;

@end
